//
//  XXMacro.swift
//  OfferManager
//
//  Created by IT.Bear on 2018/1/4.
//  Copyright © 2018年 OFFER. All rights reserved.
//

import Foundation
import UIKit

let XXScreenHeight = UIScreen.main.bounds.size.height
let XXScreenWidth = UIScreen.main.bounds.size.width

let Color_White = UIColor.rgbColorFromHex(rgb: 0xffffff)
let Color_Black = UIColor.rgbColorFromHex(rgb: 0x000000)
let Color_Red = UIColor.rgbColorFromHex(rgb: 0xFF4545)
let Color_666 = UIColor.rgbColorFromHex(rgb: 0x666666)
let Color_999 = UIColor.rgbColorFromHex(rgb: 0x999999)
let Color_Background = UIColor.rgbColorFromHex(rgb: 0xf5f5f5)
let Color_Line = UIColor.rgbColorFromHex(rgb: 0xeeeeee)

func XXURL(_ urlString:String) -> NSURL{
    return NSURL.init(string: urlString)!
}
